package com.team24.hotel.service;

import com.team24.hotel.domain.GoodOrder;
import com.team24.hotel.domain.GoodOrder;

import java.util.List;

public interface GoodOrderService {

    List<GoodOrder> listGoodOrder();

    List<GoodOrder> listHistoryGoodOrder();

    int insertGoodOrder(GoodOrder goodOrder);

    void deleteGoodOrderByPrimaryKey(String id);

    GoodOrder findGoodOrderById(String id);

    int saveOrUpdate(GoodOrder goodOrder);

    int updateGoodOrderStatusToHistory(String id);

    int updateGoodOrderStatusToNow(String id);

}